package com.example.lilei.Loves;

import android.app.Activity;
import android.os.Bundle;


import com.example.lilei.R;
import com.example.lilei.Views.GalleryAdapter;
import com.example.lilei.Views.GalleryView;

public class Love_3Activity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_love_3);
        Integer [] iamage = {R.drawable.m1,R.drawable.m2,R.drawable.m3,R.drawable.m4,
                R.drawable.m5,R.drawable.m6,R.drawable.m7,R.drawable.m8,
                R.drawable.m9};
        GalleryAdapter adapter = new GalleryAdapter(this,iamage);
        adapter.createReflectedImages();

        GalleryView galleryView  = (GalleryView) findViewById(R.id.gllv);
        galleryView.setAdapter(adapter);
    }
}
